package org.example.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.example.pojos.Admin;

import java.util.List;


/**
 * @Author : zhangbo
 * @data : 2024/7/12
 * @description :
 */
@Mapper
public interface UserMapper extends BaseMapper<Admin> {
    /**
     * 批量插入
     * @param list
     */
    void saveBatch(@Param("list")List<Admin>list);

    void saveRandom(@Param("sqlStr")List<String> sqlStr );
}
